package cn.iocoder.yudao.module.project.controller.admin.productioncode.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

@Data
public class ProductRetrospectVO {
    @Schema(description = "产品编号", example = "芋艿")
    private String productCode;

    @Schema(description = "产品名称", example = "芋艿")
    private String productName;

    @Schema(description = "上线时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",locale = "zh_CN",timezone = "GMT+8")
    private Date downlineTime;

    @Schema(description = "重量", example = "芋艿")
    private Double weight;

    @Schema(description = "刚性测试", example = "芋艿")
    private String rigidity;

    @Schema(description = "平衡测试", example = "芋艿")
    private String balance;

    @Schema(description = "物料编码", example = "芋艿")
    private String materialCode;

    @Schema(description = "批次码", example = "芋艿")
    private String batchCode;

    @Schema(description = "订单编号", example = "芋艿")
    private String orderCode;

    @Schema(description = "供应商", example = "芋艿")
    private String supplierId;
    private String supplierName;

    @Schema(description = "出库时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",locale = "zh_CN",timezone = "GMT+8")
    private Date deliveryTime;

    @Schema(description = "入库时间")
    @JsonFormat(pattern="yyyy-MM-dd",locale = "zh_CN",timezone = "GMT+8")
    private Date receiptTime;

    @Schema(description = "操作员", example = "芋艿")
    private String operator;

    @Schema(description = "出库单号", requiredMode = Schema.RequiredMode.REQUIRED, example = "22436")
    private String exCode;

    @Schema(description = "成品型号", example = "芋艿")
    private String type;

    @Schema(description = "称重时间")
    @JsonFormat(pattern="yyyy-MM-dd",locale = "zh_CN",timezone = "GMT+8")
    private Date balanceTwiceTime;

}
